/*******************************************************************************
  Name: _ansi.h
  Copyright: Kieran Foot 2009
  Author: Kieran Foot
  Date: 12/06/09 12:41
  Description: Limited implemenation of _ansi.h
*******************************************************************************/

#ifndef __ASNI_H__
#define __ASNI_H__

// GCC Attribute
#ifdef __GNUC__
#define _ATTRIBUTE(attrs) __attribute__ (attrs)
#else
#define _ATTRIBUTE(attrs)
#endif

// ISO C++
#ifdef __cplusplus
    #define _BEGIN_STD_C extern "C" {
    #define _END_STD_C }
#else
    #define _BEGIN_STD_C
    #define _END_STD_C
#endif

#endif
